<template>
    <h1>{{ home }}</h1>
</template>
<script>
export default
    {
    name:"home",
   data() {
    return {
        home:"HOME"
    }
        }, 
     activated() {
        console.log("home组件被触发");
        },
    deactivated() {
        console.log("home组件被停用");
    },
}
</script>
<style scoped>
</style>